package com.tungse.copyExample;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @author Tungse
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Person implements Cloneable {
    private String name;
    private Integer age;
    private Address address;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }


}